package com.cookie.entity;

public class Greeting {
    private long id;
    private String name;


    public Greeting() {
    }

    public Greeting(long id, String name) {
        this.id = id;
        this.name = name;
    }

    /**
     * 获取
     * @return id
     */
    public long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name daw
     */
    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return "Greeting{id = " + id + ", name = " + name + "}";
    }
}
